package com.ch.forum.dao;

import com.ch.forum.model.AdModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdMapper {

    @Select("select * from t_ad")
    List<AdModel> findAll();
}
